package com.ctshk.rpc.order.localfun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 门票订单旅客信息
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_local_fun_order_tourist")
@ApiModel(value="ScenicOrderTourist对象", description="门票订单旅客信息")
public class LocalFunOrderTourist extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "所属景点产品门票id")
    private Long ticketsProductId;

    @ApiModelProperty(value = "旅客类型（1：成人 2：小童）")
    private String touristType;

    @ApiModelProperty(value = "旅客姓")
    private String surname;

    @ApiModelProperty(value = "旅客名")
    private String name;

    @ApiModelProperty(value = "旅客姓名")
    private String touristName;

    @ApiModelProperty(value = "订单联系人称谓 (1:先生;2:女士;3:小姐;4:男童;5:女童)")
    private Integer appellation;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value = "联系人手机区号id")
    private Long contactMobileAreaCodeId;

    @ApiModelProperty(value = "联系人手机区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value = "联系人手机")
    private String contactMobile;

    @ApiModelProperty(value = "证件类型ID")
    private Long certificatesTypeId;

    @ApiModelProperty(value = "证件类型")
    private String certificatesType;

    @ApiModelProperty(value = "证件号码")
    private String certificatesNumber;

    @ApiModelProperty(value = "证件有效期至")
    private LocalDate vaildDate;

    @ApiModelProperty(value = "座位号")
    private String seatsNumber;

    @ApiModelProperty(value = "联系人邮箱")
    private String contactEmail;

    @ApiModelProperty("国籍")
    private String countryName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "票价=成本价*汇率+加辐费")
    private BigDecimal singlePrice;

    @ApiModelProperty(value = "服务费")
    private BigDecimal charge;


}
